html, body, .main {
  height: 100%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: black;
}

#goHome {
  float: right;
}

.main {
  display: flex;
  flex-direction: column;
}

.main .topbar {
  width: 100%;
  height: 50px;
  padding-left: 20px;
  color: black;
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  min-width: 400px;
}

.main .topbar #productService, .main .topbar #pressCenter, .main .topbar #exit {
  font-size: 16px;
  margin-left: 15px;
}

.main .box {
  flex: 1;
}

.topbar {
  position: fixed;
  background-color: white;
}

.box {
  flex: 1;
  padding-top: 50px;
}

.box .newsbg {
  background-image: url("http://localhost:3000/bg.jpg");
  background-position: 0px -120px;
  width: 100%;
  height: 350px;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.box .searchcontainer {
  position: absolute;
  width: 60%;
  top: 250px;
  left: 50%;
  transform: translate(-50%);
  z-index: 1;
}

.box #newsSearch {
  width: 100%;
  height: 50px;
  outline-style: none;
  padding-left: 10px;
}

.box .list-group {
  position: absolute;
  z-index: 10;
  width: 100%;
  opacity: 0.9;
}

.box .cardContainer {
  height: 320px;
  justify-content: space-around;
  display: flex;
  z-index: 0;
  position: relative;
}

.box .cardContainer .card {
  flex: 1;
  margin: 10px;
  transition: all 0.5s;
}

.box .cardContainer .card:hover {
  cursor: pointer;
  box-shadow: 0 0 15px 0px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.box .cardContainer .card-img-top {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
}

.box .cardContainer .card-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.box .newstab {
  padding: 10px;
}

.box .tab-link {
  color: black;
}

.box .tab-item {
  border-bottom: 1px solid gainsboro;
  padding: 5px;
  height: 80px;
  color: black;
}

.box .tab-item img {
  float: left;
  margin-right: 15px;
}
